VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Wpf.UI Namespace / WpfPdfVisualTool Class / PointsFromVisualToolSpaceToPageSpace Methods / PointsFromVisualToolSpaceToPageSpace(VintasoftImage,Point[],Point[]) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointsFromVisualToolSpaceToPageSpace(VintasoftImage,Point[],Point[]) Method (WpfPdfVisualTool)
    In This Topic
    Converts points from the visual tool coordinate space to the PDF page coordinate space.
    Syntax
    'Declaration
    
    Public Overloads Sub PointsFromVisualToolSpaceToPageSpace( _
    ByVal image
    The image associated with PDF page.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal viewerSpacePoints
    Points, in the visual tool coordinate space.
    () As System.Windows.Point, _
    ByVal pageSpacePoints
    Points, in the PDF page coordinate space.
    () As System.Windows.Point _
    )
    public void PointsFromVisualToolSpaceToPageSpace(
    Vintasoft.Imaging.VintasoftImage image,
    System.Windows.Point[] viewerSpacePoints,
    System.Windows.Point[] pageSpacePoints
    )
    public: void PointsFromVisualToolSpaceToPageSpace(
    Vintasoft.Imaging.VintasoftImage* image,
    System.Windows.Point[]* viewerSpacePoints,
    System.Windows.Point[]* pageSpacePoints
    )
    public:
    void PointsFromVisualToolSpaceToPageSpace(
    Vintasoft.Imaging.VintasoftImage^ image,
    array<System.Windows.Point>^ viewerSpacePoints,
    array<System.Windows.Point>^ pageSpacePoints
    )

    Parameters

    image
    The image associated with PDF page.
    viewerSpacePoints
    Points, in the visual tool coordinate space.
    pageSpacePoints
    Points, in the PDF page coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if viewerSpacePoints.Length != pageSpacePoints.Length.
    Thrown if focused image is not a PDF page.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also